]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Don't notify two elements for each icon
authorSergio Costas Rodriguez <sergio.costas@canonical.com>
Thu, 16 Apr 2026 11:41:47 +0000 (13:41 +0200)
committerSergio Costas Rodriguez <sergio.costas@canonical.com>
Fri, 17 Apr 2026 09:23:06 +0000 (11:23 +0200)
commit3df8e4dd0e14ecc4221ef5f05eebeac1c9949a3d
tree601f269bbe78a66a4ebedc9f06bcca37f9638449
parent0c8377682daaf90d58548a61f5693d26056a460a
dash: Don't notify two elements for each icon

When the user uses a screen reader and navigates through the
dash, each element is notified as two: one panel with no label,
and then a button with the application name as the label.

This is because each icon has the BUTTON role, but is inside a
container with the PANEL role, so each time the focus changes
from an icon to the next, there is a change in the container,
so the screen reader notifies this. But that container is
useless for the screen reader. The container always read its
label because the label_actor property is set.

This patch fixes this.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4182>
js/ui/dash.js